Has_one :through => multiple?

Yeah I don't think you can use a has_one for this. Assuming I'm reading this correctly, you have two models.

Yeah I don't think you can use a has_one for this. Assuming I'm reading this correctly, you have two models: Attendment Vouching They both store an event_id and account_id. You want to know from the attendment model, what vouching shares the same event and account as the attendment.

I think the easiest solution for this is to write a method inside your attendment. Rb file. Class Attendment self.

Event_id, :account_id => self. Account_id). First end end.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions